﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Medianamik.Core.Configuration
{
   public class PathCollection : ConfigurationElementCollection
    {
       public override ConfigurationElementCollectionType CollectionType
       {
           get
           {
               return  ConfigurationElementCollectionType.AddRemoveClearMap;
           }
       }

        protected override ConfigurationElement CreateNewElement()
        {
            return new PathElement();
        }

        protected override object GetElementKey(ConfigurationElement element)
        {

            return ((PathElement)element).Path;
 
        }
    }
}
